package com.sokal.easycare.modules.product.service.product;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sokal.easycare.common.persistence.Page;
import com.sokal.easycare.common.service.CrudService;
import com.sokal.easycare.modules.product.entity.product.ProComment;
import com.sokal.easycare.modules.product.dao.product.ProCommentDao;

/**
 * 产品评论Service
 * @author liliangdong
 * @version 2017-04-08
 */
@Service
@Transactional(readOnly = true)
public class ProCommentService extends CrudService<ProCommentDao, ProComment> {

	public ProComment get(String id) {
		return super.get(id);
	}
	
	public List<ProComment> findList(ProComment proComment) {
		return super.findList(proComment);
	}
	
	public Page<ProComment> findPage(Page<ProComment> page, ProComment proComment) {
		return super.findPage(page, proComment);
	}
	
	@Transactional(readOnly = false)
	public void save(ProComment proComment) {
		super.save(proComment);
	}
	
	@Transactional(readOnly = false)
	public void delete(ProComment proComment) {
		super.delete(proComment);
	}
	
}